import request from "@/util/request";

export function saveConfiguration(data) {
    return request({
        method: "post",
        url: '/config',
        data
    })
}

export function getConfiguration(dto) {
    return request({
        method: "get",
        url: '/config',
        params: dto
    })
}

export function getConfigurationById(id) {
    return request({
        method: "get",
        url: '/config/' + id,
    })
}
export function modifyConfiguration(data) {
    return request({
        method: "put",
        url: '/config',
        data
    })
}
